<?php
include_once("header.php");
?>
<?php
$id=$_GET["id"];
if(empty($id)){echo "<h2>Error - No Alias selected</h2>"; }
else{
$delForwarding=mysql_query("DELETE FROM forwardings WHERE id='$id'");
$affForwarding=mysql_affected_rows();
if($affForwarding > 0){ echo "<h3>Alias deleted</h3>";}
else {echo "<h2>ERROR</h2><h3>ALIAS ID $id does not exist</h3>";}
}
?>

<br /><br />
<br /><br />
<?php
include_once("footer.php");
?>
